/**
 * 
 */
package com.hfjyz.exam.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.validation.BindException;
import org.springframework.validation.Errors;

import com.hfjyz.exam.command.ExamCommand;
import com.hfjyz.exam.command.ExamResultCommand;
import com.hfjyz.exam.command.PaperListCommand;

/**
 * 
 */
public interface PaperService extends BaseService {

	@SuppressWarnings("rawtypes")
	Map initSearch(HttpServletRequest request, PaperListCommand cmd,
			Errors errors) throws Exception;

	@SuppressWarnings("rawtypes")
	Map initExam(HttpServletRequest request, ExamCommand cmd, Errors errors)
			throws Exception;

	void exam(HttpServletRequest request, ExamCommand cmd, BindException errors)
			throws Exception;

	@SuppressWarnings("rawtypes")
	Map initExamResult(HttpServletRequest request, ExamResultCommand cmd,
			Errors errors) throws Exception;

}
